package com.wxx.design.dependenceinversion;

/**
 * @author: Jetwang
 * @date: 2022/4/7 19:46
 * @description: Jetwang
 * @version: 1.0
 */
public class Jetwang {
    private ICourse course;

    public ICourse getCourse() {
        return course;
    }

    public void setCourse(ICourse course) {
        this.course = course;
    }

    public Jetwang() {
    }

    public Jetwang(ICourse course) {
        this.course = course;
    }

    public void studyCourse() {
        course.studyCourse();
    }
}
